#include "StdAfx.h"
#include "ListInfo.h"

CListInfo::CListInfo(void)
{
}

CListInfo::~CListInfo(void)
{
}

CListInfo& CListInfo::operator=(const CListInfo& info)
{
	if(this == &info)
		return *this;
	strID = info.strID;
	strName = info.strName;
	strSize = info.strSize;
	strTips = info.strTips;
	strIco  = info.strIco;
	return *this;
}

CListInfo* CListInfo::operator&()
{
	return this;
}

CListInfo& CListInfo::operator*()
{
	return *this;
}

//CListInfo& CListInfo::operator=(CListInfo* pInfo)
//{
//	if(pInfo == NULL)
//	{
//		strID = pInfo->strID;
//		strName = pInfo->strName;
//		strSize = pInfo->strSize;
//		strTips = pInfo->strTips;
//	}
//	return *this;
//}
